package com.example.springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (RoleMenu)实体类
 *
 * @author makejava
 * @since 2021-09-06 11:55:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoleMenu implements Serializable {
	private static final long serialVersionUID = 946944217898270943L;
	/**
	 * 菜单Id
	 */
	private Long menuid;
	/**
	 * 角色Id
	 */
	private Long roleid;


	public Long getMenuid() {
		return menuid;
	}

	public void setMenuid(Long menuid) {
		this.menuid = menuid;
	}

	public Long getRoleid() {
		return roleid;
	}

	public void setRoleid(Long roleid) {
		this.roleid = roleid;
	}

	@Override
	public String toString() {
		return "RoleMenu{" +
				"menuid=" + menuid +
				", roleid=" + roleid +
				'}';
	}
}